body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, li, a, p, h1, h2, h3, h4, h5, h6, i, b, textarea, button, input, select, figure, figcaption {
    padding: 0;
    margin: 0;
    list-style: none;
    font-style: normal;
    text-decoration: none;
    border: none;
    font-weight: normal;
    font-size: 12px;
    color:#333;
    line-height:1.42;
    // font-family: Open Sans, Helvetica Neue, Helvetica, Arial, STHeiti, sans-serif, Microsoft Yahei;
    font-family: Microsoft Yahei,PingFangSC;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    //-webkit-font-smoothing: antialiased;  //搞锯齿属性
    &:hover {
        outline: none;
    }
}

body {
    background-color: #f6f8f9 !important;
}

.ub {
    display: -webkit-box;
    display: -moz-box;
    //display: box;
    position:relative;
}

/*以反方向显示 div 框的子元素*/
.ub-rev {
    -webkit-box-direction:reverse;
    -moz-box-direction:reverse;
    box-direction:reverse;
}

.ub-fh {
    width: 100%;
}

.ub-fv {
    height: 100%;
}

.ub-con {
    position: absolute;
    width: 100%;
    height: 100%;
}

/*通过使用 box-align and box-pack 属性，居中 div 框的子元素*/
.ub-ac
{
    -webkit-box-align:center;
    -moz-box-align:center;
    box-align:center;
}
/*通过使用 box-align and box-pack :end属性，右下 div 框的子元素*/
.ub-ae
{
    -webkit-box-align:end;
    -moz-box-align:end;
    box-align:end;
}

.ub-pc
{
    -webkit-box-pack:center;
    -moz-box-pack:center;
    box-pack:center;
}
.ub-pe
{
    -webkit-box-pack:end;
    -moz-box-pack:end;
    box-pack:end;
}
/*两端对齐*/
.ub-pj
{
    -webkit-box-pack:justify;
    -moz-box-pack:justify;
    box-pack:justify;
}
/*从上向下垂直排列子元素。*/
.ub-ver
{
    -webkit-box-orient:vertical;
    -moz-box-orient:vertical;
    box-orient:vertical;
}
/*box-flex主要让子容器针对父容器的宽度按一定规则进行划分*/
.ub-f1
{
    position:relative;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
}

.ub-f2
{
    position:relative;
    -webkit-box-flex: 2;
    -moz-box-flex: 2;
    box-flex: 2;
}

.ub-f3
{
    position:relative;
    -webkit-box-flex: 3;
    -moz-box-flex: 3;
    box-flex: 3;
}

.ub-f4
{
    position:relative;
    -webkit-box-flex: 4;
    -moz-box-flex: 4;
    box-flex: 4;
}
